package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 a_carousel
 * 
 * @author ruoyi
 * @date 2024-05-16
 */
public class ACarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 描述 */
    @Excel(name = "描述")
    private String imgName;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imageUrl;

    /** 逻辑删除 */
    private Long delFlag;

    /** 是否上线 */
    @Excel(name = "是否上线")
    private Boolean isShow;

    /** 排序 */
    @Excel(name = "排序")
    private Integer numSoft;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImgName(String imgName) 
    {
        this.imgName = imgName;
    }

    public String getImgName() 
    {
        return imgName;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    public Boolean getIsShow() {
        return isShow;
    }

    public void setIsShow(Boolean isShow) {
        this.isShow = isShow;
    }

    public void setNumSoft(Integer numSoft)
    {
        this.numSoft = numSoft;
    }

    public Integer getNumSoft() 
    {
        return numSoft;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgName", getImgName())
            .append("imageUrl", getImageUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("isShow", getIsShow())
            .append("numSoft", getNumSoft())
            .toString();
    }
}
